
<div class="wrap" data-ng-controller="integralCtrl as vm">
    <div class="panel_block">
        <div class="panel_title">当前积分（分）</div>
        <div class="panel_amount">{{vm.data.points}}</div>
    </div>
    <div class="title_block">积分记录</div>
    <div class="integral_list">
        <div class="integral_item" data-ng-repeat="item in vm.data.list">
            <div class="integral_item-icon">
                <img data-ng-if="item.type==1" src="../../img/zl_img/qiaodao_now.png" alt="">
                <img data-ng-if="item.type==2" src="../../img/zl_img/qiaodao_invite.png" alt="">
                <img data-ng-if="item.type==3" src="../../img/zl_img/in_join_activity.png" alt="">
                <img data-ng-if="item.type==4" src="../../img/zl_img/friend_witness.png" alt="">
                <img data-ng-if="item.type==5" src="../../img/zl_img/jianfei.png" alt="">
            </div>
            <div class="integral_item-text">
                <div class="title">{{item.desc}}</div>
                <div class="datetime">{{item.create_time}}</div>
            </div>
            <div class="integral_item-number" style="color: red;">
                <span data-ng-if="item.status==1">+</span>
                <span data-ng-if="item.status==2">-</span>
                {{item.points}}
            </div>
        </div>
    </div>
</div>
